178179a4628041b93e1429968d59622c212c4483,Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java,ReportGenerator,setupProgressPanels,#Map#Map#Map#,113
Before Change
for (Entry<GeneralReportModule, Boolean> entry : generalModuleStates.entrySet()) {
if (entry.getValue()) {
GeneralReportModule module = entry.getKey();
generalProgress.put(module, panel.addReport(module.getName(), reportPath + module.getFilePath()));
}
}
}
After Change
for (Entry<GeneralReportModule, Boolean> entry : generalModuleStates.entrySet()) {
if (entry.getValue()) {
GeneralReportModule module = entry.getKey();
String moduleFilePath = module.getFilePath();
if (moduleFilePath != null) {
generalProgress.put(module, panel.addReport(module.getName(), reportPath + moduleFilePath));
}
else {
generalProgress.put(module, panel.addReport(module.getName(), null));
}
}
}